package com.apex.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author George
 * @since 2023-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Client implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 客户ID
     */
    @TableId(value = "Client_id", type = IdType.ASSIGN_ID)
    private Long clientId;

    /**
     * 客户微信号
     */
    @TableField("Client_wechat")
    private String clientWechat;

    /**
     * 客户名称
     */
    @TableField("Client_name")
    private String clientName;

    /**
     * 客户年龄
     */
    @TableField("Client_age")
    private Integer clientAge;

    /**
     * 客户性别
     */
    @TableField("Client_sex")
    private Integer clientSex;

    /**
     * 客户密码
     */
    @TableField("Client_pwd")
    private String clientPwd;

    /**
     * 客户订单金额
     */
    @TableField("Order_amount")
    private Double orderAmount;

    /**
     * 客户余额
     */
    @TableField("Client_balance")
    private Double clientBalance;

    /**
     * 客户上级
     */
    @TableField("Client_superior")
    private String clientSuperior;

    /**
     * 客户邮箱
     */
    @TableField("Client_email")
    private String clientEmail;

    /**
     * 客户 VIP 等级
     */
    @TableField("Client_vip")
    private Integer clientVip;

    /**
     * 客户 IP 地址
     */
    @TableField("Client_ip")
    private String clientIp;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreation;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer deleted;


}
